package com.edais.service;

import java.util.Map;

import com.yunzhi.domain.ResultDTO;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

@Service

public interface ErrorMessageService {
	public Map<String, Object> getErrorMessage(String messageName) throws IllegalArgumentException, IllegalAccessException;
	
	public Map<String, Object> getErrorMessage(String messageName,String [] arrgs) throws IllegalArgumentException, IllegalAccessException;

	/*
	* 根据错误信息返回ResultDTO对象
	* */
	public ResultDTO getResultDtoByErrorMessge(Map<String, Object> paramMap);
}
